﻿/*****************************************************************************  

 Version: 0.1
 Website: http://www.visuagile.com/
 
 Copyright (c) Yoganand R. All rights reserved.
 For continued development and updates, visit http://yogsbreath.net
 
 ******************************************************************************/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VisualAgile.Model;

namespace VisualAgile.DTO.Mappers
{
    public class LabelDTOMapper:BaseDTOMapper
    {
        public static LabelDTO MapToDTO(Label model)
        {
            LabelDTO dto = new LabelDTO();            

            dto.LabelID = model.LabelID;            
            dto.IterationID = model.IterationID;
            dto.Date = model.Date;            

            return dto;
        }

        public static Label MapFromDTO(LabelDTO dto)
        {
            Label Label = new Label();            
            Label.LabelID = dto.LabelID;
            Label.IterationID = dto.IterationID;
            Label.Date = dto.Date;            
           
            return Label;
        }
    }
}
 